package com.chii.gateway.client;

import com.chii.gateway.client.impl.AuthClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "sc-auth", fallback = AuthClientFallback.class)
public interface AuthClient {



    @RequestMapping(value = "/oauth/check_token", method = RequestMethod.GET)
    String checkToken(String token);
}
